<?php
    $this->_var['dpageJs'][] = $this->_var['TMPL_REAL']."/dist/statics/js/user-account.js";
?>
<div class="user-r-title clearfix">
    <div class="common-title f-l">
        <span class="field">我的会员帐号</span>
    </div>
</div>
<div class="user-r-content clearfix j-ajax-page">
    <div class="uc-info-l clearfix" ms-important="vm-set_pwd" id="set_pwd">
        <div class="head-photo f-l">
            <img src="{$data.user_info.head_image}" id="head_image" width="120" height="120">
            <input type="hidden" name="head_image" value="" />
           <!--  <div class="block-change">
                <div class="change-bg"></div>
                <div class="change-photo" onclick='open_avatar_view(150,150,"head_image",function(){save_img(150,150,"head_image",APP_ROOT+"/mapi/index.php?ctl=user&act=update");});'>
                    <i class="icon iconfont">&#xe627;</i>
                    <p>修改头像</p>
                </div>
            </div> -->
        </div>
        <div class="block-uc-info f-l">
            <div class="user-other">登录手机号：{$data.user_info.mobile}</div>
            <div class="user-other">绑定会员ID：{$data.user_info.id}</div>
            <div class="user-other">昵称：{$data.user_info.nick_name}</div>
        </div>
        <button type="button" class="btn btn-primary brn-setpwd" ms-click="@setPwd">修改密码</button>
    </div>
    <div class="uc-assets mt-20">
        <div class="user-r-title clearfix" style="margin-top:0;">
            <div class="common-title f-l">
                <span class="field">我的资产</span>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-6">
                <div class="uc-total-bar">
                    <p>
                        <label>我的游戏币</label>
                        <span><em>{$data.user_info.coin}</em>&nbsp;游戏币</span>
                    </p>
                </div>
            </div>
            <div class="col-xs-6">
                <div class="uc-total-bar">
                    <p>
                        <label>我的钻石</label>
                        <span><em>{$data.user_info.diamonds}</em>&nbsp;钻石</span>
                    </p>
                </div>
            </div>
        </div>
    </div>
    <!-- 
    <div class="uc-assets mt-20">
        <div class="user-r-title clearfix" style="margin-top:0;">
            <div class="common-title f-l">
                <span class="field">交易概况</span>
            </div>
            <div class="common-title-after">
                <span>{$data.start} - {$data.end}</span>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-6">
                <div class="uc-total-bar">
                    <div class="uc-total-head">
                        <span>收入&nbsp;<em>8000，00</em></span> 
                        <a href="">查看收入明细</a> 
                    </div>
                    <div class="uc-total-list">
                        <div class="total-bar">
                            <span>游戏收入</span>
                            <span>{$data.game_gain}</span>
                        </div>
                        <div class="total-bar">
                            <span>游戏收入&nbsp;90%</span>
                            <span>6000</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-xs-6">
                <div class="uc-total-bar">
                    <div class="uc-total-head">
                        <span>支出&nbsp;<em>8000，00</em></span>
                         <a href="">查看支出明细</a> 
                    </div>
                    <div class="uc-total-list">
                        <div class="total-bar">
                            <span>游戏支出</span>
                            <span>{$data.game_pay}</span>
                        </div>
                        <div class="total-bar">
                            <span>游戏收入&nbsp;90%</span>
                            <span>6000</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
    </div> -->
</div>